import { get,post } from '@/utils/request'

export function getGroupList(data) {
	return get('/group/getGroupList',data)
}

export function createGroup(data) {
	return post('/group/createGroup',data)
}

export function updateGroup(data) {
	return get('/group/updateGroup',data)
}

export function deleteGroup(data) {
	return get('/group/deleteGroup',data)
}

export function getGroupById(data) {
	return get('/group/getGroupById',data)
}

export function getUserListFromGroup(data) {
	return get('/group/getUserListFromGroup',data)
}

export function deleteUserGroup(data) {
	return get('/group/deleteUserGroup',data)
}

export function getUserList(data) {
	return get('/group/getUserList',data)
}

export function addUserGroup(data) {
	return post('/group/addUserGroup',data)
}